import 'package:flutter/services.dart';
import 'package:osc/common/constants.dart';

class ShareUtil{
  static const methodChannel = const MethodChannel(Constant.CUSTOMER_SHARE_SERVICE);
  static String shareTargetUrl = "https://www.oschina.net/app_phone";
  static shareUrl(int type) async{
    await methodChannel.invokeMethod("shareUrl", {"url": shareTargetUrl, "type": type});
  }


}